package com.dw.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dw.model.article.dtos.label.AddLabelDTO;
import com.dw.model.article.dtos.label.AddLabelHotDTO;
import com.dw.model.article.dtos.label.QueryLabelDTO;
import com.dw.model.article.entitys.LabelInfo;

import java.util.List;

/**
 * 文章标签表(LabelInfo)表服务接口
 *
 * @author makejava
 * @since 2024-10-08 15:20:03
 */
public interface LabelInfoService extends IService<LabelInfo> {

    Boolean addLabel(AddLabelDTO addLabelDTO);

    List<LabelInfo> queryLabel(QueryLabelDTO queryLabelDTO);

    List<LabelInfo> queryLabelByIds(List<Long> labelIds);

    LabelInfo queryLabelNameById(Long labelId);

}

